﻿using UnityEngine;

namespace CGF
{
    public class BannerDemo : MonoBehaviour
    {
        public Banner banner;

        public void Awake()
        {
            banner.Init();

            banner.SetPageClickEvent(0, () => { Debug.Log("点击Page1"); });
            banner.SetPageClickEvent(1, () => { Debug.Log("点击Page2"); });
            banner.SetPageClickEvent(2, () => { Debug.Log("点击Page3"); });
        }

    }
}
